Total Complexity | 45 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 352 |
Lines of code | 188 |
Logical lines of code | 125 |
Comment lines | 59 |
Methods | 13 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
save_credit_card_without_payment() | 40 | 12 | 55 | |
process_payment() | 45 | 12 | 38 | |
scheduled_subscription_payment() | 49 | 5 | 29 | |
payment_fields() | 69 | 3 | 6 | |
get_available_installments() | 72 | 2 | 6 | |
should_save_credit_card() | 72 | 2 | 6 | |
save_payment_method_checkbox() | 72 | 2 | 6 | |
save_subscription_card_token() | 66 | 2 | 8 | |
add_subscription_payment_meta() | 62 | 1 | 12 | |
__construct() | 65 | 1 | 8 | |
is_available() | 80 | 1 | 3 | |
failing_payment_method_updated() | 91 | 1 | 2 | |
delete_custom_meta_fom_renewal_order() | 66 | 1 | 9 |